Spread Windows Forms 12.0 Product Documentation
Item Constructor(Int32,Image,Image,Image,String,List<SubItem>,String,String)


FarPoint.Win.Spread.Design Assembly > FarPoint.Win.Spread.Design Namespace > Item Class > Item Constructor : Item Constructor(Int32,Image,Image,Image,String,List<SubItem>,String,String)
The id.
The img.
The img hover.
The img disable.
The text.
The sub items.
The sub title.
The alt key.
Initializes a new instance of the Item class.
Syntax
'Declaration
 
Public Function New( _
   ByVal id As Integer, _
   ByVal img As Image, _
   ByVal imgHover As Image, _
   ByVal imgDisable As Image, _
   ByVal text As String, _
   ByVal subItems As List(Of SubItem), _
   ByVal subTitle As String, _
   ByVal altKey As String _
)
'Usage
 
Dim id As Integer
Dim img As Image
Dim imgHover As Image
Dim imgDisable As Image
Dim text As String
Dim subItems As List(Of SubItem)
Dim subTitle As String
Dim altKey As String
 
Dim instance As New Item(id, img, imgHover, imgDisable, text, subItems, subTitle, altKey)
public Item( 
   int id,
   Image img,
   Image imgHover,
   Image imgDisable,
   string text,
   List<SubItem> subItems,
   string subTitle,
   string altKey
)

Parameters

id
The id.
img
The img.
imgHover
The img hover.
imgDisable
The img disable.
text
The text.
subItems
The sub items.
subTitle
The sub title.
altKey
The alt key.
See Also

Reference

Item Class
Item Members
Overload List